/ MacTech 1 to 12
/ MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 12 - 1996 / 12.04 Apr 96 / ThreadingAppleEvents.sit / ThreadingAppleEvents / Grant's CGI Code 1.0b13 / Util / PrefUtil.h ![]() | < prev | next > |
MacBinary | 1995-12-09 | 1.6 KB | [TEXT/CWIE] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, Sat Dec 9 11:50:29 1995, modified Sat Dec 9 11:50:29 1995, creator 'CWIE', type ASCII, 1006 bytes "PrefUtil.h" magic text fragment for file(1) cmd, 1st line "#pragma once", 2nd line "/*****", at 0x46e 410 bytes resource magic text fragment for file(1) cmd, 1st line "#pragma once", 2nd line "/*****" | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [CWIE] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 50 72 65 66 55 74 | 69 6c 2e 68 00 00 00 00 |..PrefUt|il.h....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 03 ee 00 | 00 01 9a ac ef 6e d5 ac |........|.....n..|
|00000060| ef 6e d5 00 00 02 00 00 | 00 00 00 00 00 00 00 00 |.n......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d8 49 00 00 |........|.....I..|
|00000080| 23 70 72 61 67 6d 61 20 | 6f 6e 63 65 0d 2f 2a 2a |#pragma |once./**|
|00000090| 2a 2a 2a 0d 20 2a 0d 20 | 2a 09 50 72 65 66 55 74 |***. *. |*.PrefUt|
|000000a0| 69 6c 2e 68 0d 20 2a 0d | 20 2a 09 54 68 69 73 20 |il.h. *.| *.This |
|000000b0| 69 73 20 61 20 73 75 70 | 70 6f 72 74 20 66 69 6c |is a sup|port fil|
|000000c0| 65 20 66 6f 72 20 22 47 | 72 61 6e 74 27 73 20 43 |e for "G|rant's C|
|000000d0| 47 49 20 46 72 61 6d 65 | 77 6f 72 6b 22 2e 0d 20 |GI Frame|work".. |
|000000e0| 2a 09 50 6c 65 61 73 65 | 20 73 65 65 20 74 68 65 |*.Please| see the|
|000000f0| 20 6c 69 63 65 6e 73 65 | 20 61 67 72 65 65 6d 65 | license| agreeme|
|00000100| 6e 74 20 74 68 61 74 20 | 61 63 63 6f 6d 70 61 6e |nt that |accompan|
|00000110| 69 65 73 20 74 68 65 20 | 64 69 73 74 72 69 62 75 |ies the |distribu|
|00000120| 74 69 6f 6e 20 70 61 63 | 6b 61 67 65 0d 20 2a 09 |tion pac|kage. *.|
|00000130| 66 6f 72 20 6c 69 63 65 | 6e 73 69 6e 67 20 64 65 |for lice|nsing de|
|00000140| 74 61 69 6c 73 2e 0d 20 | 2a 0d 20 2a 09 43 6f 70 |tails.. |*. *.Cop|
|00000150| 79 72 69 67 68 74 20 a9 | 31 39 39 35 20 62 79 20 |yright .|1995 by |
|00000160| 47 72 61 6e 74 20 4e 65 | 75 66 65 6c 64 0d 20 2a |Grant Ne|ufeld. *|
|00000170| 09 67 72 61 6e 74 40 61 | 63 6d 2e 63 6f 6d 0d 20 |.grant@a|cm.com. |
|00000180| 2a 09 68 74 74 70 3a 2f | 2f 61 72 70 70 31 2e 63 |*.http:/|/arpp1.c|
|00000190| 61 72 6c 65 74 6f 6e 2e | 63 61 2f 67 72 61 6e 74 |arleton.|ca/grant|
|000001a0| 2f 0d 20 2a 0d 20 2a 2a | 2a 2a 2a 2f 0d 0d 2f 2a |/. *. **|***/../*|
|000001b0| 2a 2a 20 20 43 4f 4e 53 | 54 41 4e 54 20 44 45 43 |** CONS|TANT DEC|
|000001c0| 4c 41 52 41 54 49 4f 4e | 53 20 20 2a 2a 2a 2f 0d |LARATION|S ***/.|
|000001d0| 0d 23 64 65 66 69 6e 65 | 20 6b 50 72 65 66 52 65 |.#define| kPrefRe|
|000001e0| 73 54 79 70 65 09 09 09 | 09 27 50 72 65 66 27 0d |sType...|.'Pref'.|
|000001f0| 23 64 65 66 69 6e 65 20 | 6b 50 72 65 66 46 69 6c |#define |kPrefFil|
|00000200| 65 54 79 70 65 09 09 09 | 09 27 70 72 65 66 27 0d |eType...|.'pref'.|
|00000210| 0d 23 64 65 66 69 6e 65 | 20 6b 72 50 72 65 66 53 |.#define| krPrefS|
|00000220| 74 61 72 74 75 70 54 68 | 72 65 61 64 73 09 09 30 |tartupTh|reads..0|
|00000230| 0d 23 64 65 66 69 6e 65 | 20 6b 72 50 72 65 66 51 |.#define| krPrefQ|
|00000240| 75 69 74 4f 6e 49 64 6c | 65 09 09 09 32 0d 23 64 |uitOnIdl|e...2.#d|
|00000250| 65 66 69 6e 65 20 6b 72 | 50 72 65 66 49 64 6c 65 |efine kr|PrefIdle|
|00000260| 54 69 6d 65 42 65 66 6f | 72 65 51 75 69 74 09 34 |TimeBefo|reQuit.4|
|00000270| 0d 0d 0d 2f 2a 2a 2a 20 | 20 54 59 50 45 20 44 45 |.../*** | TYPE DE|
|00000280| 43 4c 41 52 41 54 49 4f | 4e 53 20 20 2a 2a 2a 2f |CLARATIO|NS ***/|
|00000290| 0d 0d 2f 2a 2a 2a 20 20 | 47 4c 4f 42 41 4c 20 44 |../*** |GLOBAL D|
|000002a0| 45 43 4c 41 52 41 54 49 | 4f 4e 53 20 20 2a 2a 2a |ECLARATI|ONS ***|
|000002b0| 2f 0d 0d 23 69 66 64 65 | 66 20 5f 5f 4d 61 69 6e |/..#ifde|f __Main|
|000002c0| 53 65 67 6d 65 6e 74 5f | 5f 0d 23 64 65 66 69 6e |Segment_|_.#defin|
|000002d0| 65 20 5f 47 4c 4f 42 41 | 4c 5f 09 0d 23 65 6c 73 |e _GLOBA|L_..#els|
|000002e0| 65 0d 23 64 65 66 69 6e | 65 20 5f 47 4c 4f 42 41 |e.#defin|e _GLOBA|
|000002f0| 4c 5f 09 65 78 74 65 72 | 6e 0d 23 65 6e 64 69 66 |L_.exter|n.#endif|
|00000300| 0d 0d 5f 47 4c 4f 42 41 | 4c 5f 09 73 68 6f 72 74 |.._GLOBA|L_.short|
|00000310| 09 09 67 50 72 65 66 53 | 74 61 72 74 75 70 54 68 |..gPrefS|tartupTh|
|00000320| 72 65 61 64 73 3b 0d 5f | 47 4c 4f 42 41 4c 5f 09 |reads;._|GLOBAL_.|
|00000330| 42 6f 6f 6c 65 61 6e 09 | 09 67 50 72 65 66 51 75 |Boolean.|.gPrefQu|
|00000340| 69 74 4f 6e 49 64 6c 65 | 3b 0d 5f 47 4c 4f 42 41 |itOnIdle|;._GLOBA|
|00000350| 4c 5f 09 6c 6f 6e 67 09 | 09 67 50 72 65 66 49 64 |L_.long.|.gPrefId|
|00000360| 6c 65 54 69 6d 65 42 65 | 66 6f 72 65 51 75 69 74 |leTimeBe|foreQuit|
|00000370| 3b 0d 0d 23 75 6e 64 65 | 66 20 5f 47 4c 4f 42 41 |;..#unde|f _GLOBA|
|00000380| 4c 5f 0d 0d 0d 2f 2a 2a | 2a 20 20 46 55 4e 43 54 |L_.../**|* FUNCT|
|00000390| 49 4f 4e 20 50 52 4f 54 | 4f 54 59 50 45 53 20 20 |ION PROT|OTYPES |
|000003a0| 2a 2a 2a 2f 0d 0d 09 76 | 6f 69 64 09 50 72 65 66 |***/...v|oid.Pref|
|000003b0| 53 74 61 72 74 75 70 09 | 09 28 20 76 6f 69 64 20 |Startup.|.( void |
|000003c0| 29 3b 0d 09 0d 09 76 6f | 69 64 09 50 72 65 66 53 |);....vo|id.PrefS|
|000003d0| 61 76 65 49 74 65 6d 09 | 28 20 73 68 6f 72 74 2c |aveItem.|( short,|
|000003e0| 20 52 65 73 54 79 70 65 | 2c 20 76 6f 69 64 20 2a | ResType|, void *|
|000003f0| 2c 20 73 68 6f 72 74 20 | 29 3b 0d 09 4f 53 45 72 |, short |);..OSEr|
|00000400| 72 09 50 72 65 66 43 72 | 65 61 74 65 46 69 6c 65 |r.PrefCr|eateFile|
|00000410| 09 28 20 76 6f 69 64 20 | 29 3b 0d 09 4f 53 45 72 |.( void |);..OSEr|
|00000420| 72 09 50 72 65 66 4f 70 | 65 6e 46 69 6c 65 09 28 |r.PrefOp|enFile.(|
|00000430| 20 76 6f 69 64 20 29 3b | 0d 09 4f 53 45 72 72 09 | void );|..OSErr.|
|00000440| 50 72 65 66 43 6c 6f 73 | 65 46 69 6c 65 09 28 20 |PrefClos|eFile.( |
|00000450| 76 6f 69 64 20 29 3b 0d | 0d 0d 2f 2a 2a 2a 2a 2a |void );.|../*****|
|00000460| 20 20 45 4f 46 20 20 2a | 2a 2a 2a 2a 2f 0d 00 00 | EOF *|****/...|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000490| 03 04 80 00 00 03 f4 67 | 00 00 a8 53 80 67 04 60 |.......g|...S.g.`|
|000004a0| 00 01 10 4a b9 00 03 09 | 9e 66 6a 15 7c 00 01 03 |...J....|.fj.|...|
|000004b0| 0a 50 72 65 66 55 74 69 | 6c 2e 68 00 02 00 00 00 |.PrefUti|l.h.....|
|000004c0| 54 45 58 54 43 57 49 45 | 00 02 00 00 00 00 00 00 |TEXTCWIE|........|
|000004d0| 00 00 54 45 58 54 43 57 | 49 45 00 02 00 00 00 00 |..TEXTCW|IE......|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 ac 5b e2 67 00 00 | 00 00 00 00 01 9a 9e 22 |...[.g..|......."|
|00000500| 68 00 04 d1 e9 05 dc 22 | 69 05 d8 4e 91 42 2a 03 |h......"|i..N.B*.|
|00000510| 48 58 4f 60 28 20 79 00 | 03 09 9e 22 68 00 04 d1 |HXO`( y.|..."h...|
|00000520| e9 05 dc 22 69 05 d8 4e | 91 20 79 00 03 09 9e 22 |..."i..N|. y...."|
|00000530| 68 00 04 d1 e9 05 d4 22 | 69 05 d0 4e 91 70 01 60 |h......"|i..N.p.`|
|00000540| 72 4a b9 00 03 09 9e 67 | 18 42 a7 48 78 07 d0 20 |rJ.....g|.B.Hx.. |
|00000550| 4a 22 50 d1 e9 01 64 22 | 69 01 60 4e 91 50 4f 60 |J"P...d"|i.`N.PO`|
|00000560| 4c 48 6e ff 00 20 4a 4e | b9 00 00 6c 82 28 48 42 |LHn.. JN|...l.(HB|
|00000570| 27 42 a7 4e b9 00 00 45 | 00 58 4f 2f 00 2f 2a 01 |'B.N...E|.XO/./*.|
|00000580| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 03 | 00 04 00 7b 00 70 01 c1 |........|...{.p..|
|000005b0| 02 4f 00 7b 00 70 01 c1 | 02 4f ac ef 27 56 00 00 |.O.{.p..|.O..'V..|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 04 |........|........|
|000005d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000005e0| 00 00 00 46 00 99 36 98 | 22 e4 00 00 00 1c 00 46 |...F..6.|"......F|
|000005f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000600| 00 1e 03 ed ff ff 00 00 | 00 00 00 99 34 c4 03 f0 |........|....4...|
|00000610| ff ff 00 00 00 4c 00 99 | 35 14 00 00 00 00 00 00 |.....L..|5.......|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+